package com.yequan.work;

/**
 * @author yequan
 * @date 2021/02/23 18:26
 **/
public class Coupon {

    public String id; 
    public String code; 
    public CouponSet couponSet; 
    public String price; 
    public String status; 
    public String create_time; 
    public String expire_time; 
    public String valid_begin_time;

    public Coupon() {
    }

    public Coupon(String id, String code) {
        this.id = id;
        this.code = code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public CouponSet getCouponSet() {
        return couponSet;
    }

    public void setCouponSet(CouponSet couponSet) {
        this.couponSet = couponSet;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(String expire_time) {
        this.expire_time = expire_time;
    }

    public String getValid_begin_time() {
        return valid_begin_time;
    }

    public void setValid_begin_time(String valid_begin_time) {
        this.valid_begin_time = valid_begin_time;
    }

    @Override
    public String toString() {
        return "Coupon{" +
                "id='" + id + '\'' +
                ", code='" + code + '\'' +
                ", couponSet=" + couponSet +
                ", price='" + price + '\'' +
                ", status='" + status + '\'' +
                ", create_time='" + create_time + '\'' +
                ", expire_time='" + expire_time + '\'' +
                ", valid_begin_time='" + valid_begin_time + '\'' +
                '}';
    }
}
